import wepy from 'wepy'

export default class Tip extends wepy.mixin {
  data = {
  }

  addtip(){
    wx.showModal({
      title: '提示',
      content: '您还没有添加设备，立刻添加!',
      success: function (res) {
        if (res.confirm) {
          wepy.navigateTo({
            url: '/pages/add'
          })
        }
      }
    })
  }
}
